import _import from "./import"

export default [{
    path: '/',
    name: "/",
    component: _import('Home'),
    meta: {keepAlive: true}

}, {
    path: '/home',
    name: "home",
    component: _import('Home'),
    meta: {keepAlive: true}
}, {
    path: '/category',
    name: "category",
    component: _import('Category', 'views/goods'),
    meta: {keepAlive: true}
}, {
    path: '/goods-search',
    name: "goods-search",
    component: _import('GoodsSearch', 'views/goods'),
    meta: {head: 1}
}, {
    path: '/goods-detail',
    name: "goods-detail",
    component: _import('GoodsDetail', 'views/goods'),
    meta: {title: '商品详情'}
}, {
    path: '/goods-list',
    name: "goods-list",
    component: _import('GoodsList', 'views/goods'),
    meta: {keepAlive: true}
}, {
    path: '/address-list',
    name: "address-list",
    component: _import('AddressList', 'views/address'),
    meta: {title: '地址列表'}
}, {
    path: '/address-add',
    name: "address-add",
    component: _import('AddressAdd', 'views/address'),
    meta: {title: '添加地址'}
}, {
    path: '/shopping',
    name: "shopping",
    component: _import('Shopping', 'views/goods'),
    meta: {head: 1}
}, {
    path: '/shopping-submit',
    name: "shopping-submit",
    component: _import('ShoppingSubmit', 'views/goods'),
    meta: {keepAlive: true, title: '提交订单'}
}, {
    path: '/promotion-list',
    name: "promotion-list",
    component: _import('PromotionList', 'views/goods'),
    meta: {keepAlive: true, title: '促销商品'}
}, {
    path: '/gift-list',
    name: "gift-list",
    component: _import('giftList', 'views/goods'),
    meta: {keepAlive: true, title: '礼包'}
}, {
    path: '/gift-detail',
    name: "gift-detail",
    component: _import('giftDetail', 'views/goods'),
    meta: {title: '礼包详情'}
}, {
    path: '/register-vip',
    name: "register-vip",
    component: _import('RegisterVip', 'views/goods'),
    meta: {keepAlive: true, title: '注册投资会员'}
}, {
    path: '/order-list',
    name: "order-list",
    component: _import('OrderList', 'views/order'),
    meta: {title: '订单列表', requireAuth: true}
}, {
    path: '/order-detail',
    name: "order-detail",
    component: _import('OrderDetail', 'views/order'),
    meta: {title: '订单详情'}
}, {
    path: '/order-evaulate',
    name: "order-evaulate",
    component: _import('OrderEvaulate', 'views/order'),
    meta: {title: '评价'}
}, {
    path: '/login',
    name: "login",
    component: _import('Login', 'views/user'),
    meta: {title: '登录'}
}, {
    path: '/register',
    name: "register",
    component: _import('Register', 'views/user'),
    meta: {title: '注册'}
}, {
    path: '/personal-center',
    name: "personal-center",
    component: _import('PersonalCenter', 'views/user'),
    meta: {title: '个人中心', requireAuth: true}
}, {
    path: '/update-password',
    name: "update-password",
    component: _import('UpdatePassword', 'views/user'),
    meta: {title: '修改密码', requireAuth: true}
}, {
    path: '/find-password',
    name: "find-password",
    component: _import('FindPassword', 'views/user'),
    meta: {title: '重置密码'}
}, {
    path: '/qrcode',
    name: "qrcode",
    component: _import('QRcode', 'views/user'),
    meta: {title: '我的二维码'}
}, {
    path: '/mine',
    name: "mine",
    component: _import('Mine', 'views/user'),
    meta: {head: 1, requireAuth: true}
}, {
    path: '/point-list',
    name: "point-list",
    component: _import('PointList', 'views/invest'),
    meta: {title: '购物积分明细', rightStatus: false, rightText: ''}
}, {
    path: '/team',
    name: "team",
    component: _import('Team', 'views/invest'),
    meta: {title: '我的团队', rightStatus: false, rightText: '注册合伙人'}
}, {
    path: '/notices-list',
    name: "notices-list",
    component: _import('NoticesList', 'views'),
    meta: {title: '商城头条'}
}]
